{extend name="layout_modal" /}
{block name="content"}
<!-- Content Header (Page header) -->
<section class="content" style="padding-top:0px;">
    <div class="row">
        <div class="box">
            <!-- /.box-header -->
            <!-- form start -->
            <form role="form" action="{:url('add_tag')}">
                <div class="box-body">
                    <div class="form-group">
                        <label for="exampleInputEmail1">标签名字</label>
                        <input type="text" class="form-control" placeholder="标签名字" name="tagname">
                    </div>
                    {in name="uinfo.roleid" value="1,4"}
                    <div class="form-group">
                        <label for="exampleInputEmail1">所属经销商</label>
                        <select class="form-control" name="tagdealer">
                            <option value="">请选择</option>
                            {volist name=":get_model_func('AdminUser', 'list_datad', ['roleid'=>'6'], 1, 100, 'userid, fullname', 'userid asc')" id="v"}
                            <option value="{$v.userid}">{$v.fullname}</option>
                            {/volist}
                        </select>
                    </div>
                    {/in}
                    <div class="form-group">
                        <label for="exampleInputEmail1">状态</label>
                        <div>
                            <label><input type="radio" name="tagstatus" checked value="1"> 显示</label>
                            <label><input type="radio" name="tagstatus" value="0"> 隐藏</label>
                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
            </form>
        </div>
    </div>
</section>
<!-- /.content -->
{/block}